phpseclib\Crypt\Base D

Total Complexity 257
Dependencies 4
Dependents 13
Total lines 2,503
Lines of code 1,296
Logical lines of code 742
Comment lines 975
Methods 35
Properties 31

Methods 35

Method Rating Maintainability Complexity Lines of code
encrypt()
D
18
60 260
decrypt()
D
18
60 257
_createInlineCryptFunction()
C
23
9 335
_openssl_ctr_process()
B
38 19 70
isValidEngine()
A
46 15 39
setPassword()
A
41 14 52
__construct()
A
54 9 22
_openssl_ofb_process()
A
49 7 32
_setEngine()
S
52 7 28
_hashInlineCryptFunction()
S
52 6 23
_openssl_translate_mode()
S
62 6 14
_increment_str()
S
52 5 24
_setupMcrypt()
S
53 4 22
_unpad()
S
62 4 10
_pad()
S
60 3 12
setPreferredEngine()
S
64 3 11
disableContinuousBuffer()
S
64 3 11
_clearBuffers()
S
66 2 7
_setup()
S
71 2 7
setKey()
S
66 2 9
enableContinuousBuffer()
S
70 2 7
setIV()
S
70 2 7
_encryptBlock()
S
100 1 0
_decryptBlock()
S
100 1 0
getKeyLength()
S
81 1 3
getEngine()
S
83 1 3
getBlockLength()
S
81 1 3
disablePadding()
S
82 1 3
_string_shift()
S
73 1 5
_string_pop()
S
72 1 5
enablePadding()
S
82 1 3
_setupInlineCrypt()
S
82 1 3
setKeyLength()
S
74 1 5
_getLambdaFunctions()
S
77 1 4
_setupKey()
S
100 1 0